<extend name="Home@Include:Layout"/>
<block name="title">管理员</block>
<block name="style">
<style>

</style>
</block>

<block name="main">
	<div class="weui_tab">
		<div class="weui_tab_bd container" id="container">
			<div class="weui_cells weui_cells_access">
					<if condition="$role eq 'teacher'">
					<a class="weui_cell" href="{:U('Home/my/sign')}">
						<div class="weui_cell_hd">
							<i class="icon iconfont" style="color: #90aedb;"></i>
						</div>
						<div class="weui_cell_bd weui_cell_primary">
						  	<p>学员考勤</p>
						</div>
						<div class="weui_cell_ft"></div>
					</a>
					</if>
					<if condition="$did">
					<a class="weui_cell" href="{:U('check/index',array('did'=>$did))}">
						<div class="weui_cell_hd">
							<i class="icon iconfont" style="color: #90aedb;"></i>
						</div>
						<div class="weui_cell_bd weui_cell_primary">
						  	<p>考勤核查</p>
						</div>
						<div class="weui_cell_ft"></div>
					</a>
					<a class="weui_cell" href="{:U('leave/index',array('did'=>$did))}">
						<div class="weui_cell_hd">
							<i class="icon iconfont" style="color: #90aedb;"></i>
						</div>
						<div class="weui_cell_bd weui_cell_primary">
						  	<p>请假管理</p>
						</div>
						<div class="weui_cell_ft"></div>
					</a>
					</if>
			</div>
	    </div>
    </div>

</block>

<block name="script">

</block>